<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<div class="modal-dialog ms-modal-dialog" style="margin-top:50px;" >
  <div class="modal-content">
     
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
      <h4 class="modal-title">修改分类</h4>
    </div>
    
      <form class="form-horizontal ms-form form-personal-info" method="POST" action="${ctx.host}/training-categories/${trainingCategory.id}" data-validate="true">
        
        <input type="hidden" name="_method" value="PATCH" />
        <input type="hidden" name="trainingCategoryId" value="${trainingCategory.id}"/>
         <div class="modal-body">
             
             <div class="form-group  ms-form-group">
	          <label class="control-label col-xs-3"><span class="text-red">*</span>分类名称：</label>
	          <div class="col-xs-8">
	            <input type="text" class="form-control" name="name" value="${trainingCategory.name}" placeholder="分类名称" data-validate="required" autocomplete="off" tabindex="1"/>
	          </div>

        
        </div>
      <div class="modal-footer ms-modal-footer">
        <button type="submit" class="btn btn-shadow-success btn-shadow umu-btn" >确定</button>
        <button type="button" class="btn btn-shadow-default btn-shadow umu-btn" data-dismiss="modal">取消</button>
      </div>
</div>
      </form>
    
  </div>
</div>
